package com.eleadmin.common.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 收藏
 *
 * @author EleAdmin
 * @since 2024-02-27 23:40:00
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Collect对象", description = "收藏")
@TableName("t_collect")
public class Collect implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "景点Id")
    private Integer attractionId;

    @ApiModelProperty(value = "收藏时间")
    private LocalDateTime createTime;

}
